# !/usr/bin/env python
# -*- coding: utf-8 -*-

# @File   : regexutil.py
# @Time   : 2022/5/31 4:59 下午
# @Author : yujianhui
import re

def search(pattern:str,string:str):
    if not pattern or not string:
        return
    regex_res=re.search(pattern,string)
    if regex_res:
        return regex_res.group(0)
